#!/bin/bash
echo Team 7 System Test
echo Running original version of player from dominion base
echo and our team\'s version using our version of dominion.c
echo
echo compare binary files
diff player1 player2
echo
echo Logging output and comparing results
echo
for i in `seq 1 100`;
do
	echo random seed $i
	./player1 $i < gameinit.txt > base.log
	./player2 $i < gameinit.txt > team.log
	diff -s base.log team.log
done


